The separator is only really needed to distinguish favorite apps
from running apps, the show-apps button is distinct enough already.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1610>
// Update separator
const nFavorites = Object.keys(favorites).length;
- if (nFavorites > 0) {
+ const nIcons = children.length - removedActors.length;
+ if (nFavorites > 0 && nFavorites < nIcons) {
if (!this._separator) {
this._separator = new St.Widget({
style_class: 'dash-separator',